import 'package:boss/models/store_area.dart';
import 'package:boss/ui/page/tableManagement/page/plusBatchTable/model/batchTable.dart';
import 'package:flutter/material.dart';

class PlusBatchTableProvider extends ChangeNotifier {
  BatchTable batchTable = BatchTable.fromJson({});

  setStoreArea(StoreArea storeArea) {
    batchTable.storeArea = storeArea;
    notifyListeners();
  }

  setTableNumber(int number) {
    batchTable.tableNumber = number;
    notifyListeners();
  }

  setSeatNumber(int number) {
    batchTable.seatNumber = number;
    notifyListeners();
  }
}
